#ifndef LINE_H
#define LINE_H

#include<QPainter>



class line
{
public:
    int start,final;
    float distance=INFINITY;
    line();
    line(int x,int y,float distance);
    bool isLine(int x,int y);
    static int findLine(line l[],int length,int x,int y);
};

#endif // LINE_H
